import Vue from 'vue'
import App from './App'
import router from './router'
import store from "./store"
import Vant from 'vant';
import  FastClick  from  'fastclick'
import axios from 'axios'
import 'vant/lib/index.css'
import moment from 'moment/moment'
FastClick.attach(document.body);
Vue.prototype.$axios=axios;

Vue.filter('moment', function (value, formatString) {
  formatString = formatString || 'YYYY-MM-DD';
  return moment(value).format(formatString); 
});
Vue.config.productionTip = false
Vue.use(Vant);
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  data:{
num:5
  },
  render: h => h(App)
})
